package com.firebird.app.fekpsl.bean

import com.squareup.moshi.Json
import org.litepal.crud.LitePalSupport
import java.io.Serializable

//exam
data class SingleAnswer(
        @Json(name = "id") val id: Int,
        @Json(name = "score") val score: Int,
        @Json(name = "correct") val correct: String,
        @Json(name = "info_text_content_id") val info_text_content_id: Int,
        @Json(name = "content") val content: String
)
data class MultipleAnswer(
        @Json(name = "id") val id: Int,
        @Json(name = "score") val score: Int,
        @Json(name = "correct") val correct: String,
        @Json(name = "info_text_content_id") val info_text_content_id: Int,
        @Json(name = "content") val content: String
)
data class TrueFalseQuestion(
        @Json(name = "id") val id: Int,
        @Json(name = "score") val score: Int,
        @Json(name = "correct") val correct: String,
        @Json(name = "info_text_content_id") val info_text_content_id: Int,
        @Json(name = "content") val content: String
)
data class BlankFillingQuestion(
        @Json(name = "id") val id: Int,
        @Json(name = "score") val score: Int,
        @Json(name = "correct") val correct: String,
        @Json(name = "info_text_content_id") val info_text_content_id: Int,
        @Json(name = "content") val content: String
)
data class QuestionTestContentBean(
        val titleContent:String,
        val analyzer: String,
        val questionItemObjects:List<QuestionItemObject>
)
data class QuestionItemObject(
        val prefix:String,
        val content:String,
        val score:String
)

data class Paper(
        @Json(name = "id") val id: Int,
        @Json(name = "name") val name: String,
        @Json(name = "subject_id") val subject_id: Int,
        @Json(name = "score") val score: Int,
        @Json(name = "question_count") val question_count: Int,
        @Json(name = "suggest_time") val suggest_time: Int,
        @Json(name = "first_category") val first_category: String,
        @Json(name = "second_category") val second_category: String,
        @Json(name = "create_time") val create_time: String,
        @Json(name = "collect") val collect: Int,
        @Json(name = "top") val top: Int,
        @Json(name = "zan") val zan: Int,
        @Json(name = "nice_name") val nice_name: String,
        @Json(name = "real_name") val real_name: String,
        @Json(name = "is_explicit") val is_explicit: Int
)